﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

using Acceron.University.DBAccess;

namespace GA_SCHED_DESIGNER
{
    /// <summary>
    /// Interaction logic for ProfessorInfoWindow.xaml
    /// </summary>
    public partial class ProfessorInfoWindow : Window
    {
        Professor prof;

        public Professor Prof
        {
            get { return prof; }
            set { prof = value; this.DataContext = prof; }
        }

        public ProfessorInfoWindow()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}
